//
// Created by wuzhe on 2022/4/27.
//

#include "Entity.h"
#include "Slave.h"
#include "Player.hh"
extern unsigned int currentSlaveNum;
Entity *Entity::process(ParseRes &res) {
//    if (res.head->isSlave == 0x01) {
//        Slave *slave = new Slave(num);
//        currentSlaveNum++;
//        slave->process(res);
//        return slave;
//    } else {
//        Player *player = new Player(num);
//        player->process(res);
//        return player;
//    }
}

Entity::~Entity() {

}
